import { App } from "vue";
import { registerPanelItemProvider } from "@ibiz-template/runtime";
import { PanelGridContainerProvider } from "./i-biz-panel-grid-container.provider";
import PanelGridContainer from "./i-biz-panel-grid-container.vue";

export const IBizPanelGridContainer = {
  install(v: App) {
    v.component("IBizPanelGridContainer", PanelGridContainer);
    registerPanelItemProvider(
      "CONTAINER_CONTAINER_GRID",
      () => new PanelGridContainerProvider()
    );
  },
};
